<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="cn.hs.blog.common.ApplicationCommon"%>

<link href="<%=ApplicationCommon.getCssServer()%>dtree.css"
	type="text/css" rel="stylesheet" />
<script src="<%=ApplicationCommon.getJsServer()%>dtree.js"></script>

<div class="dtree">  

	<%-- 
    <p><a href="javascript: d.openAll();">open all</a> | <a href="javascript: d.closeAll();">close all</a></p>  
    --%>
    <script type="text/javascript">  
        <!--   
  
        d = new dTree('d');   
  
        d.add(0,-1,'菜单列表');
        d.add(1,0,'日志管理', '', '日志管理', '', '', '', 'false');   
        d.add(11,1,'添加日志','/blog/article/Article.do?method=toAdd', '添加日志', 'main', '', '', 'false');
        d.add(12,1,'查看日志','/blog/article/Article.do?method=listForPage', '查看日志', 'main', '', '', 'false');
        d.add(13,1,'查看日志-test','/blog/article/Article.do?method=list', '查看日志', 'main', '', '', 'false');
        /*
        d.add(2,0,'Node 2','example01.html');   
        d.add(3,1,'Node 1.1','example01.html');   
        d.add(4,0,'Node 3','example01.html');   
        d.add(5,3,'Node 1.1.1','example01.html');   
        d.add(6,5,'Node 1.1.1.1','example01.html');   
        d.add(7,0,'Node 4','example01.html');   
        d.add(8,1,'Node 1.2','example01.html');   
        d.add(9,0,'My Pictures','example01.html','Pictures I\'ve taken over the years','','','img/imgfolder.gif');   
        d.add(10,9,'The trip to Iceland','example01.html','Pictures of Gullfoss and Geysir');   
        d.add(11,9,'Mom\'s birthday','example01.html');   
        d.add(12,0,'Recycle Bin','example01.html','','','img/trash.gif');   
        d.add(13,12,'sub Recycle Bin','','','','img/trash.gif');   
        */
  
        document.write(d);   
  
        //-->  
    </script>  
  
</div>  
